home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / console-data.postinst < prev    next >
Encoding:
Text File  |  2010-12-19  |  726 b   |  28 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # Automatically added by dh_consoledata
  6. if [ "$1" = "configure" ]
  7. then
  8.   # Do nothing if console-common is not installed.
  9.   if [ -x /usr/share/console/getkmapchoice.pl ] 
  10.   then 
  11.       . /usr/share/debconf/confmodule
  12.       # If the entry contains a / it's broken so overwrite it with a default
  13.       # value.  See see #110873
  14.       if db_get console-data/keymap/full && echo "$RET" | grep -q "/"; then
  15.           db_set console-data/keymap/full us
  16.       fi
  17.       echo >&2 "Looking for keymap to install:"
  18.       if /usr/share/console/getkmapchoice.pl
  19.       then
  20.       install-keymap `PERL_BADLANG=0 \
  21.        /usr/share/console/getkmapchoice.pl 2>&1 | tail -n 1`
  22.       fi
  23.   fi
  24. fi
  25. # End automatically added section
  26.  
  27.  
  28.